#ifndef _BIEUTHUC_IO_H
#define _BIEUTHUC_IO_H

#include "BieuThuc.h"
#include <list>
#include <fstream>
#include <iostream>
using namespace std;

class BieuThucIO{
private: 
	double giaTriX;
public:
	list<double> chuyenDuLieuVaoMang(char* tenTapTin);
	BieuThuc* chuyenMangThanhBieuThuc(list<double> &arr);
	void luuGiaTriX(list<double> &arr);
	BieuThuc* input(char* tenTapTinInput);
	bool output(char* tenTapTinOutput, double ketQuaGiaTri, BieuThuc* ketQuaDaoHam);
	double layGiaTriX();
	string xuLyChuoiKetQuaDaoHam(string chuoi);
};
#endif